:: bin + libs 目录
echo path:%~dp0
set path=C:\Program Files\Java\jdk1.8.0_101\bin
::配置了环境就不用  set path
set base=%~dp0
set class=%base%bin
set libs=%base%libs
set class_path=%class%;%libs%\*;
cd %class%
java -classpath %class_path% Server.Agent.WebSocketServer 
::> ../log.txt
pause